/**
 * Copyright ©2016-2022 tianyu education Corporation, All Rights Reserved
 * http://www.whty.com.cn/
 */
package profile.hujia.redis.dao.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import profile.hujia.redis.common.constant.ConfigAttributeConstant;

import java.util.List;

/**
 * class info
 *
 * @author hujia
 * @date 2019-12-24 11:13
 */
@Component
@Data
@ConfigurationProperties(prefix = ConfigAttributeConstant.JEDIS_CLUSTER_CONFIG_ATTRIBUTE_PREFIX)
public class JedisClusterConfigAttribute {
    private List<String> ips;
    private List<Integer> ports;
}